package com.ruoyi.petrol.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 加油站信息对象 che_petrol
 * 
 * @author ruoyi
 * @date 2025-01-02
 */
@Data
public class ChePetrol extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，自增ID */
    private Long id;

    /** 加油站名 */
    @Excel(name = "加油站名")
    private String name;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phone;

    /** 每周营业时间 */
    @Excel(name = "每周营业时间")
    private String week;

    /** 开始营业时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始营业时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束营业时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束营业时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 经度坐标 */
    @Excel(name = "经度坐标")
    private Double longitude;

    /** 纬度坐标 */
    @Excel(name = "纬度坐标")
    private Double latitude;


}
